package com.lmqb.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LmAccountLog;
import com.lmqb.page.AccountLogPager;
import com.lmqb.page.AgentAccountPager;
import com.lmqb.page.RewardPager;

public interface LmAccountLogMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(LmAccountLog record);

    int insertSelective(LmAccountLog record);

    LmAccountLog selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(LmAccountLog record);

    int updateByPrimaryKey(LmAccountLog record);

	List<LmAccountLog> selectAll(AccountLogPager pagerModel);

	int selectCount(AccountLogPager pagerModel);

	List<LmAccountLog> selectAllAgent(AgentAccountPager pagerModel);

	int selectCountAgent(AgentAccountPager pagerModel);

	List<LmAccountLog> selectAllReward(RewardPager pagerModel);

	int selectCountReward(RewardPager pagerModel);

	List<LmAccountLog> selectByAccount(LmAccountLog account);
	
	Integer accountCount(LmAccountLog account);

}